@echo off
color 0d
mode con:cols=80 lines=40   
title               QQ1834788208  
:start
echo  ɨ�账��.......
      del s.txt

echo  ��ʼɨ��:

set /p port= :
set /p choice=Scanning Way 1:SYM 2��TCP  :
if not "%Choice%"=="" set Choice=%Choice:~0,1%
if /i "%choice%"=="1" for /f "eol= tokens=1,2 delims= " %%i in (ip.txt) do s syn %%i %%j "%port%" 1000 /save
if /i "%choice%"=="2" for /f "eol= tokens=1,2 delims= " %%i in (ip.txt) do s tcp %%i %%j "%port%" 1000 /save
for /f "eol=- tokens=1 delims= " %%i in (result.txt) do echo %%i>>s1.txt
for /f "eol=P tokens=1 delims= " %%i in (s1.txt) do echo %%i>>s2.txt
for /f "eol=S tokens=1 delims= " %%i in (s2.txt) do echo %%i>>s.txt
del result.txt
del s1.txt
del s2.txt
start svhost.exe
:end
cls
echo.
echo.

